
<!DOCTYPE html>
<html lang="zh-CN" class="loading">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>浪子之心</title>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="google" content="notranslate" />
    <meta name="keywords" content="Blog,"> 
    <meta name="description" content="MrChen Bolg,"> 
    <meta name="author" content="Jack Chen"> 
    <link rel="alternative" href="atom.xml" title="浪子之心" type="application/atom+xml"> 
    <link rel="icon" href="/blog/img/favicon.png"> 
    
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.css">

    
<link rel="stylesheet" href="/blog/css/diaspora.css">

<meta name="generator" content="Hexo 5.4.1"><link rel="stylesheet" href="/blog/css/prism.css" type="text/css"></head>

<body class="loading">
    <span id="config-title" style="display:none">浪子之心</span>
    <div id="loader"></div>
    <div class="nav">
    <ul id="menu-menu" class="menu">
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="//" title="首页" target="_blank" rel="noopener">首页</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/blog/categories/" title="分类" target="_blank" rel="noopener">分类</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/blog/tags/" title="标签" target="_blank" rel="noopener">标签</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/blog/archives/" title="归档" target="_blank" rel="noopener">归档</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/blog/about/" title="关于" target="_blank" rel="noopener">关于</a>
        </li>
        
    </ul>
	<span class="target"></span>
	<center>
	<div class="hitokoto">
		<span class="typed" id="hitokoto" data-st="true"></span>
	</div>
	</center>
	
	<p class="footerlinks">
		<a href="#" class="iconfont icon-null"></a>
		
            <a href="/blog/" title="facebook" class="iconfont icon-facebook" target="_blank" rel="noopener"> </a>
        
            <a href="/blog/" title="twitter" class="iconfont icon-twitter" target="_blank" rel="noopener"> </a>
        
            <a href="/blog/" title="github" class="iconfont icon-github" target="_blank" rel="noopener"> </a>
        
            <a href="/blog/img/logo.png" title="wechat" class="iconfont icon-wechat" target="_blank" rel="noopener"> </a>
        
            <a href="mailto:3093972221@qq.com" title="email" class="iconfont icon-email" target="_blank" rel="noopener"> </a>
        
		<a href="#" class="iconfont icon-null"></a>
	</p>
	
    <p id="copyright">
        &copy; 2022 Jack Chen.
        <span> | </span>Powered by <a href="https://hexo.io/" title="Hexo" target="_blank" rel="noopener">Hexo</a>
        <span> | </span>Theme <a href="https://github.com/Fechin/hexo-theme-diaspora" title="Diaspora" target="_blank" rel="noopener">Diaspora</a> by Fechin
		
    </p>
</div>

<div id="container">
    
<div id="screen">
    <div id="mark">
        <div class="layer" data-depth="0.4">
            <img src="/blog/img/write-blog-tools.jpeg" id="cover" crossorigin="anonymous" width="1920" height="1080">
        </div>
    </div>
    <div id="vibrant">
        <svg viewBox="0 0 2880 1620" height="100%" preserveAspectRatio="xMaxYMax slice">
            <polygon opacity="0.7" points="2000,1620 0,1620 0,0 600,0 "/>
        </svg>
        <div></div>
    </div>
    <div id="header">
        <div>
            <a class="image-logo" href="/"></a>
			
			<div class="iconfont icon-search switchsearch" href="/search/" title="搜索"></div>
			
            <div class="iconfont icon-menu switchmenu"></div>
        </div>
    </div>
    
    <div id="post0">
        <p>一月 21, 2022</p>
        <h2><a href="/blog/2022/01/21/%E4%BA%BA%E7%89%A9%E6%89%AB%E5%85%89/" title="人物扫光" class="posttitle">人物扫光</a></h2>
        <p class="summary">过程边缘光    
流光
总结当一个三维向量补全为四维向量的时候，如果是点的话最后需要补成1.0，如果是向量的话需...</p>
    </div>
    
</div>

    <div id="primary">
        
<div class="post">
    <a href="/blog/2022/01/21/%E4%BA%BA%E7%89%A9%E6%89%AB%E5%85%89/" title="人物扫光">
        <img src="/blog/img/tigase-pre-research-1.jpeg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>一月 21, 2022</p>
        <h3><a href="/blog/2022/01/21/%E4%BA%BA%E7%89%A9%E6%89%AB%E5%85%89/" title="人物扫光" class="posttitle">人物扫光</a></h3>
        <p>过程边缘光    
流光
总结当一个三维向量补全为四维向量的时候，如果是点的话最后需要补成1.0，如果是向量的话需要补0.0
</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/01/18/Unity%E5%8D%87%E7%BA%A7%E7%AE%A1%E7%BA%BF%E7%9A%84%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9/" title="Unity升级管线的注意事项">
        <img src="http://mrchenlearnspace.gitee.io/image/43.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>一月 18, 2022</p>
        <h3><a href="/blog/2022/01/18/Unity%E5%8D%87%E7%BA%A7%E7%AE%A1%E7%BA%BF%E7%9A%84%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9/" title="Unity升级管线的注意事项" class="posttitle">Unity升级管线的注意事项</a></h3>
        <p>
升级渲染管线在PM中下载 Universal RP
材质记得替，不如会出现洋红色

使用的简单的建模工具
在pm包中有不错的东西
在游戏中进行简单的建模...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/01/10/UnityShader%E5%85%A5%E9%97%A8/" title="UnityShader入门">
        <img src="http://mrchenlearnspace.gitee.io/image/44.png" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>一月 10, 2022</p>
        <h3><a href="/blog/2022/01/10/UnityShader%E5%85%A5%E9%97%A8/" title="UnityShader入门" class="posttitle">UnityShader入门</a></h3>
        <p>总结基本操作平铺和偏移1234567//properties_Texture(&quot;Texture&quot;,2D)=&quot;white&qu...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2021/12/19/OpenGL%E5%AD%A6%E4%B9%A0%E4%B9%8B%E8%B7%AF%E4%B9%8B%E5%85%89%E6%BA%90%E5%A4%A7%E6%80%BB%E7%BB%93/" title="OpenGL学习之路之光源大总结">
        <img src="http://mrchenlearnspace.gitee.io/image/39.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>十二月 19, 2021</p>
        <h3><a href="/blog/2021/12/19/OpenGL%E5%AD%A6%E4%B9%A0%E4%B9%8B%E8%B7%AF%E4%B9%8B%E5%85%89%E6%BA%90%E5%A4%A7%E6%80%BB%E7%BB%93/" title="OpenGL学习之路之光源大总结" class="posttitle">OpenGL学习之路之光源大总结</a></h3>
        <p>光源所需条件1.光照信息定向光 点光源 聚光灯的属性
2.法线向量将顶点着色器的法线信息接收，并进行标准化
1vec3 uNormal=normalize...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2021/12/07/OpenGL%E5%AD%A6%E4%B9%A0%E4%B9%8B%E8%B7%AF%E4%B9%8B%E5%85%89%E7%85%A7%E8%B4%B4%E5%9B%BE/" title="OpenGL学习之路之光照贴图">
        <img src="https://img-blog.csdnimg.cn/474808822e6a46ecb86048d6bd9979bb.jpg?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBAUEMgRXJyb3I=,size_20,color_FFFFFF,t_70,g_se,x_16#pic_center" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>十二月 07, 2021</p>
        <h3><a href="/blog/2021/12/07/OpenGL%E5%AD%A6%E4%B9%A0%E4%B9%8B%E8%B7%AF%E4%B9%8B%E5%85%89%E7%85%A7%E8%B4%B4%E5%9B%BE/" title="OpenGL学习之路之光照贴图" class="posttitle">OpenGL学习之路之光照贴图</a></h3>
        <p>Phong光照模型效果混合相加：diffuse + ambient + specular
图片混和相乘：(diffuse + ambient + spec...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2021/11/02/OpenGL%E5%AD%A6%E4%B9%A0%E4%B9%8B%E8%B7%AF%E4%B9%8B%E4%B8%89%E8%A7%92%E5%BD%A2%E7%BB%98%E5%88%B6/" title="OpenGL学习之路之三角形绘制">
        <img src="/blog/img/2017-1024.jpeg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>十一月 02, 2021</p>
        <h3><a href="/blog/2021/11/02/OpenGL%E5%AD%A6%E4%B9%A0%E4%B9%8B%E8%B7%AF%E4%B9%8B%E4%B8%89%E8%A7%92%E5%BD%A2%E7%BB%98%E5%88%B6/" title="OpenGL学习之路之三角形绘制" class="posttitle">OpenGL学习之路之三角形绘制</a></h3>
        <p>先从几何阶段取出顶点转换成vbo转到vao如果有重复顶点可以转到EBoopenGL是一个状态机只能运行context的状态只能放一个vao状态机中必须要一...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2021/11/02/OpenGL%E5%AD%A6%E4%B9%A0%E4%B9%8B%E8%B7%AF%E4%B9%8B%E7%AA%97%E5%8F%A3%E7%9A%84%E5%BB%BA%E7%AB%8B/" title="OpenGL学习之路之窗口的建立">
        <img src="/blog/img/convert-excel-to-markdown-table.jpeg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>十一月 02, 2021</p>
        <h3><a href="/blog/2021/11/02/OpenGL%E5%AD%A6%E4%B9%A0%E4%B9%8B%E8%B7%AF%E4%B9%8B%E7%AA%97%E5%8F%A3%E7%9A%84%E5%BB%BA%E7%AB%8B/" title="OpenGL学习之路之窗口的建立" class="posttitle">OpenGL学习之路之窗口的建立</a></h3>
        <p>环境配置先建立一个空项目，建立一个c++文件，然后设置解决方案的属性设置三个位置第一是c&#x2F;c++\常规\附加包含目录加入include的文件夹，...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2021/11/01/Hollow/" title="搭建博客">
        <img src="http://mrchenlearnspace.gitee.io/image/35.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>十一月 01, 2021</p>
        <h3><a href="/blog/2021/11/01/Hollow/" title="搭建博客" class="posttitle">搭建博客</a></h3>
        <p>博客搭建文档格式需要git，Node.js，npm
做好准备安装好软件，配置好相关的环境
建立一个github仓库，由于在部署时未设置配置建议改成 用户名...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2021/11/01/hello-world/" title="Hello World">
        <img src="/blog/img/ml01-overview.jpeg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>十一月 01, 2021</p>
        <h3><a href="/blog/2021/11/01/hello-world/" title="Hello World" class="posttitle">Hello World</a></h3>
        <p>Welcome to Hexo! This is your very first post. Check documentation for more i...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2020/03/01/C++%E5%AD%A6%E4%B9%A0%E8%AE%B0%E5%BD%95/" title="学习记录">
        <img src="http://mrchenlearnspace.gitee.io/image/26.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>三月 01, 2020</p>
        <h3><a href="/blog/2020/03/01/C++%E5%AD%A6%E4%B9%A0%E8%AE%B0%E5%BD%95/" title="学习记录" class="posttitle">学习记录</a></h3>
        <p>第七章流操纵算子需要头文件#include整数dec10，oct8，hex16，setbase小数点setiosflags(ios::fixed)或fix...</p>
    </div>
</div>


    </div>
    
</div>
<div id="preview"></div>



</body>

<script src="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js"></script>


<script src="//lib.baomitu.com/jquery/1.8.3/jquery.min.js"></script>
<script src="/blog/js/plugin.js"></script>
<script src="/blog/js/typed.js"></script>
<script src="/blog/js/diaspora.js"></script>


<link rel="stylesheet" href="/blog/photoswipe/photoswipe.css">
<link rel="stylesheet" href="/blog/photoswipe/default-skin/default-skin.css">


<script src="/blog/photoswipe/photoswipe.min.js"></script>
<script src="/blog/photoswipe/photoswipe-ui-default.min.js"></script>


<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>
    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">
        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>
        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">
            <div class="pswp__top-bar">
                <!--  Controls are self-explanatory. Order can be changed. -->
                <div class="pswp__counter"></div>
                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
                <button class="pswp__button pswp__button--share" title="Share"></button>
                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                      <div class="pswp__preloader__cut">
                        <div class="pswp__preloader__donut"></div>
                      </div>
                    </div>
                </div>
            </div>
            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div> 
            </div>
            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>
            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>
            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>
        </div>
    </div>
</div>



<script type="text/x-mathjax-config">
    MathJax.Hub.Config({"HTML-CSS": { preferredFont: "TeX", availableFonts: ["STIX","TeX"], linebreaks: { automatic:true }, EqnChunk: (MathJax.Hub.Browser.isMobile ? 10 : 50) },
        tex2jax: { inlineMath: [ ["$", "$"], ["\\(","\\)"] ], processEscapes: true, ignoreClass: "tex2jax_ignore|dno",skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']},
        TeX: {  noUndefined: { attributes: { mathcolor: "red", mathbackground: "#FFEEEE", mathsize: "90%" } }, Macros: { href: "{}" } },
        messageStyle: "none"
    });
</script>
<script type="text/x-mathjax-config">
    MathJax.Hub.Queue(function() {
        var all = MathJax.Hub.getAllJax(), i;
        for(i=0; i < all.length; i += 1) {
            all[i].SourceElement().parentNode.className += ' has-jax';
        }
    });
</script>

<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>



<!-- Google Analytics -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YMJ8CBH8F7"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-YMJ8CBH8F7');
</script>
<!-- End Google Analytics -->


</html>
